package org.example.langchain4jrag;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import reactor.core.publisher.Flux;
public interface Customer {
    @SystemMessage("""
            你是智慧校园助手
            """)
    String chat(@MemoryId String id, @UserMessage String message);
    Flux<String> stream(@MemoryId String id, @UserMessage String message);
}
